<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
		<script src="../js/signup_prototype.js" type="text/javascript"></script>
		<script src="../js/checkpsw.js" type="text/javascript"></script>
		<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push( [ '_setAccount', 'UA-60088-8' ]);
	_gaq.push( [ '_trackPageview' ]);

	(function() {
		var ga = document.createElement('script');
		ga.type = 'text/javascript';
		ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl'
				: 'http://www') + '.google-analytics.com/ga.js';
		(document.getElementsByTagName('head')[0] || document
				.getElementsByTagName('body')[0]).appendChild(ga);
	})();
</script>
		<title>注册</title>
		<link href="../css/signup_style.css" media="screen" rel="stylesheet"
			type="text/css" />
		<link type="text/css" rel="stylesheet" href="css/scenery/base.css" />
		<link type="text/css" rel="stylesheet" href="css/scenery/layout.css" />
		<link type="text/css" rel="stylesheet" href="css/scenery/booklist.css" />
		<link type="text/css" rel="stylesheet" href="css/scenery/form.css" />
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
	</head>
	<body onLoad="$('user_email').activate();">
		<div id="page-content">
			<div id="signup-page">
				<div id="logo">
					<a href="../home.action"><img src="../images/logo-signup.gif"
							alt="LaterThis Signup" />
					</a>
				</div>
				<p id="intro">
					你需要填写以下注册信息
				</p>
				<div id="signup-form">
					<form action="register.action" class="new_user" id="new_user"
						method="post" onsubmit="return checkpws()">
						<p>
							<label for="login">
								*用户名
							</label>
							<br />
							<input id="user_login" name="loginName" size="30" tabindex="2"
								type="text" />
							<br />
							<span class="form_note">Only numbers and letters, no
								spaces</span>
						</p>
						<div id="normal-login">
							<p>
								<label for="password">
									*密码
								</label>
								<br />
								<input id="user_password" name="password" size="30" tabindex="3"
									type="password" />
							</p>
							<p>
								<label for="password_confirmation">
									*再次输入密码
								</label>
								<br />
								<input id="user_password_confirmation" name="user" size="30"
									tabindex="4" type="password" onchange="checkpws();" />
							</p>
							<div id="msg" style="color: red;"></div>
							<p>
								<label for="login">
									用户真实名
								</label>
								<br />
								<input id="user_login" name="trueName" size="30" tabindex="5"
									type="text" />
							</p>
							<p>
								<input id="user_terms_of_service" name="gender" tabindex="6"
									type="radio" value="1" checked />
								<label for="login">
									男
								</label>
								<input id="user_terms_of_service" name="gender" type="radio"
									value="0" />
								<label for="login">
									女
								</label>
								<br />
							</p>
							<p>
								<label for="login">
									地址
								</label>
								<br />
								<input id="user_login" name="address" size="30" tabindex="7"
									type="text" />
								<br />
							</p>
							</p>
							<p>
								<label for="login">
									creditCard
								</label>
								<br />
								<input id="user_login" name="creditCard" size="30" tabindex="8"
									type="text" />
								<br />
								<span class="form_note">Only numbers, no spaces</span>
							</p>
							<p>
								<label for="email">
									Email
								</label>
								<br />
								<input id="user_email" name="email" size="30" tabindex="1"
									type="text" />
							</p>
							<p>
								<label for="login">
									电话号码
								</label>
								<br />
								<input id="user_login" name="tel" size="30" tabindex="9"
									type="text" />
								<br />
								<span class="form_note">Only numbers, no spaces</span>
							</p>
						</div>
						<p>
							<label for="user_terms_of_service">
								<input name="user[terms_of_service]" type="hidden" value="0" />
								<input id="user_terms_of_service" name="user[terms_of_service]"
									tabindex="6" type="checkbox" value="1" />
								I agree to the
								<a href="/legal/tos">terms of service</a>
							</label>
						</p>
						<p>
							<input class="button" name="commit" type="submit" value="Sign up" />
							&nbsp;&nbsp;返回
							<a href="login.jsp">登录界面</a>&nbsp;或者&nbsp;
							<a href="../homepage.jsp">主页</a>
						</p>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>